<%@page import="com.cyou.qb.system.AdminUserContext"%>
<%@ page contentType="text/html; charset=UTF-8"%>
<div class="sidebar fl">
	<div class="manage-nav">
		<h3 class="fs18 fb">管理目录</h3>
		<div class="nav-main">
			<div class="title hand"><em></em>管理后台</div>
			<ul>
				<li><a href="${ctx }/activity/index.do">活动列表</a></li>
				<li><a href="${ctx }/blacklist/index.do">活动黑名单</a></li>
				<c:if test="${loginedUser.type==2 }">
					<li><a href="${ctx }/account/index.do">账号管理</a></li>
				</c:if>
				<li><a href="${ctx }/statistics/index.do">数据统计</a></li>
			</ul>
			<div class="ft-line"></div>
		</div>
	</div>
	<div class="now-user">
		<h2 class="fb">当前登录用户</h2>
		<div class="user-info">
			<label>账号：</label>
			<span>${loginedUser.loginName}</span>
		</div>
		<div class="oper">
			<a id="updatePasswordLink" href="#">修改密码</a>
			<a href="${ctx }/login/logout.do" id="logout-link">退出</a>
		</div>
		<div class="last-login-time"><fmt>
			<p>上次登录时间:</p>
			<p class="gray pl10"><c:if test="${loginedUser.lastTime !=null }"><fmt:formatDate value="${loginedUser.lastTime}"  pattern="yyyy-MM-dd HH:mm:ss"/> <fmt>   </c:if></p>
		</div>
		<div class="login-ip mt10">
			<p>登录IP：</p>
			<p class="gray pl10">${loginedUser.userIp}</p>
		</div>
	</div>
</div>
